package deng.ejbtx.ejb.order;

import javax.xml.bind.JAXB;

public class OrderToXml {

	public static void main(String[] args) {
		Order order = new Order();
		order.getOrderDetail().add(new OrderDetail("BlueRay Disc Player"));
		order.getOrderDetail().add(new OrderDetail("Video Camcorder"));
		order.getOrderDetail().add(new OrderDetail("iPhone"));
		JAXB.marshal(order, System.out);
	}
}
